import $axios from "@/network";

/**
 * 查询所有开发包
 * @returns {*}
 */
export const findList = () => {
  return $axios({
    method: 'POST',
    url: '/ffdpd/findList',
    params: {
      "packName": "",
      "v": ""
    }
  })
}

/**
 * 上传开发包
 * @returns {*}
 */
export const addFDPD = (param) => {
  return $axios({
    method: 'POST',
    url: '/ffdpd/addFDPD',
    data: param,
    headers: {'Content-Type': 'application/x-www-form-urlencoded;charset=UTF-8'}
  })
}